@(qcmNiveauQuestionForm: Form[QcmNiveauquestion])
@header()

@import helper._

@implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.render) } 

@main("createQcmNiveauquestion") {
	  
    @form(routes.AdminQcmNiveauQuestion.saveQcmNiveauQuestion()) {
    	<div class="bs-docs-example" >
    	
    	<div class="bs-docs-example-after" >
    	Etape 1 sur 1
    	</div>
     
     	<legend> Ajouter un qcmQcmNiveauQuestion </legend>
     	
        <fieldset>
        <br>
                    @select(
                    		qcmNiveauQuestionForm("qcm.idQcm"), 
                            options(Qcm.options), 
                            '_label -> "QCM passe", '_default -> "-- Choisir un QCM --",
                            '_showConstraints -> false
                        )            		
	
                    @select(
                    		qcmNiveauQuestionForm("niveauQuestion.idNiveauQ"), 
                            options(NiveauQuestion.options), 
                            '_label -> "Niveau de la question ", '_default -> "-- Choisir un niveau --",
                            '_showConstraints -> false
                        )
                        
            @inputText(qcmNiveauQuestionForm("pointPositif"), '_label -> "points positifs pr le niveau de ce QCM")
            @inputText(qcmNiveauQuestionForm("pointNegatif"), '_label -> "points positifs pr le niveau de ce QCM")

        </fieldset>
            
            
            
        <br>
        
        <div class="actions">
        <a href="@routes.AdminQcmNiveauQuestion.indexQcmNiveauQuestion()" class="btn btn-primary"><i class="icon-white icon-circle-arrow-left"></i> Retour</a>
    	<button type="submit" class="btn btn-primary"> Ajouter <i class="icon-white icon-circle-arrow-right"></i> </button>
        </div>
       </div>
    }
    
}